package com.dingli.shop.impl;

import com.dingli.shop.biz.RightsBiz;
import com.dingli.shop.po.RightsVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RightsBizImpl implements RightsBiz {
    @Autowired
    private RightsBiz rightsBiz;

    @Override
    public List<RightsVO> findRights() {
        try {
            return rightsBiz.findRights();
        } catch (Exception e) {
            return null;
        }
    }
}
